from flask_marshmallow.sqla import SQLAlchemyAutoSchema

from ..models import Article

class ArticleOutSchema(SQLAlchemyAutoSchema):
    class Meta:
        model = Article
        include_fk = True